Rearranged the way the build script works so that the prod directory would only contain things that need to go to the server.