Ok, I only talked about the multiple lines, not about if the script is shutting down properly.
I have no idea baout that.