Set CATEGORIES_URL and CATEGORIES_SAVE_AS

It fix the #1218, following @justinmayer instructions.

Fix #1216.