Set environment variables from payload for scripts to use