If you want to use url_for in lib scripts

how would you do it?

Joe