Move the rest of the code to the scripts.