Changed IP and image directory to be configs