added local bashrc handling