extracted script generation for smoofer build server integration