Makes the script always cleanup

This ensures that everything is in the correct state for when the script
gets run again