Changed 'x_ul', 'y_ul', 'x_lr', and 'y_lr' to 'xs', 'ys', 'xe', and 'ye', respectively.