Created autogen script based on xml api description