Fix env variables and serve task