pavan, venkat added script for sub categories