added execute for other command types, fixed execute_pipe_command