Added flash xml and minor changes