added function for writing the source step to bash-profile