front end: change dir when program launches.