perforator.py: added argument parser