Improvement to bashrc update process