add bash shell functions