Fix bashrc and extract