Improve install command

Uses pushd/popd to move to and return from the install directory, as
well as refresh the profile script immediately