replace curdir by sys.path[0] - should solve nekton1's issues, when starting from wrong directory.