Changes to manage commands in bash better.