Function mergeRuntimeEnvIntoRunCreate