Passing current range to provider calls

- updated script_host_execute and script_host_execute_file to pass current range