add bash functions