added some for file redirection but it isnt working yet, also fixed deleting prompt and a couple other things.