Simplified pm_setup.py