Build server script and setup for packages