Make clean install optional, make scripts more modular