How can I automate flash sites