move directions to config file