removing restart and cleanup flags