Added optional, self-glorified, watermark & fixed return statement for generated scripts