pushd moved to control script