Added the scripting interface. Now the entire process can be scripted so that it will be eaiser to calibrate different systems