refine fgfw-lite.py