fixing flash and python