check env for server command