Implemented execute command
fixed redir