added a couple new bash functions