updated prompt to be more shell like, added open and close functionality