Improved server setup script