I think the arguments need to be the other way round - `production firstrun`. Because `production` sets up `env` variables that `firstrun` (or rather the tasks it calls) depend on.