stuff for setting up server environment