generating a roughcut workflow script