Improved the build script further. Moved server config into variables