update pass4/ams02_migrator.py; with comments and more compact