Pass useful info to scripts in environment variables.