Import of current scripts
Fix problems with spontaneous & simultaneous installs
Merge with github repo