Temporary script generator

Temporary script generator to solve immediate password setting problem.
need to make more robust at some point