Use provided env from command line if available