modified autorunexp.py