Fixes to bashrc and gt