got > in myshell sort of working, right now it prepends instead of overwriting