Added pre-start and pre-install script to update environment