changing directory listeners