Check for required variables when starting server