Converting ACE script into an ADE script