Cleaning up setup script and checking for files before building things (for reload).