fixing pcat_interface.py working in wrong directory