directory change, now uses PWM