add function to stop script on pololu