add image and allow changing output file name in gui