preliminary version of the installer script