Added ability to enter a parent category ID