allow relative path imports, add script dir to sys path in debug