split install script into multi small scripts