Added in the ability to pass function as a 'rename' param in the options. Allows the generated url to be manipulated.
Merge pull request #3 from cameronmaske/rename

Add a 'rename' option