Try Changing the last line "Exit" to "Exit 0"