updated for building binary macro client via web service