Added commonscript and removed some comments