Set image directory at beginning of application