Working on do transition script.
Adding a do transition script, plus other small fixes.