added build script for server