adding get curl command functionality and few minor enhancements