added range input variables
updated overlay to use %