added option to generate test script.. still need to integrate the
generator itself