lib/sh/util.sh: moved $top_script, $top_dir before internal commands echoing so they can be reset in cd()
lib/sh/util.sh: moved $top_script, $top_dir before internal commands echoing so they can be reset in cd()