added pre-install script