script for category retrieval started