script structure refactoring
range attribute with min/max value