bug fixing on --env and support DATABASE_URL env.