Temporary and permanent government spending in a small open economy