added execute for other commands and fixed execute_pipe_command