Budgetary Policies in a DSGE Model with Finite Horizons