Passing current range to provider calls

- updated script_host_execute and script_host_execute_file to pass current range
Merge pull request #1376 '[RDY] Passing current range to provider calls'