Adding a call to the stop script at the end