Contains code for Script_generation tool