fix static methods, changed path from url to directory