Grab env configs if --grab-configs specified

Previously this happened only during deploy, but now in any case
if the flag is specified this is done.