server dir and build script