Added event and model environmet var setting scripts