revert the removal of autopushd etc