some shell functionality added
more fixes