bin.fgrun: rewrite in python