modify to use global variable for image url, add README