added tag retrieval script