- resets the directory variable so that the message is current when running multiple tasks