Improved traversal step parameter handling, checking, and script creation.