Change imgRight variable assignation to read from the img file