index.py with target path argument