Remove unused indent function, add set-env and PROFILE_PATH.