Naive shell implementation