added fixes to passport

flash module still not working