Reworked teardown_env.sh to use positional param for target_dir