fix for python 3.1; start script from main dir