This script checks input value.