fixed urls import for 1.6 with backwards compatability

Hi there,

I know there's already an outstanding pull request for this but it seems a pity not to fix it with backwards compatibility?

Also, is there any interest in releasing this version as a package?