moved some scripts to .bashrc as a function