Handled case of bookshelf_url_ttl being undefined in the application
environment. Used better variable names for bookshelf_url_ttl.