only install script if run is true