Add some helper method for script generation, 1.0.4.19