Storing --max-categories info in user_metadata