Add ability to use URL or relative path