extract install script to separate files