Updated and working MakeAPI Publish script