Updated process response command to change directory name when reponse comes in