Government shutdown averted after last minute shutdown