New bash functions