added pre-installation script