Change location at the end of the script