Merged functions in clab_shell. Previous functions added to unused.py