Added some script generator utilities