Made NanRunScript accept Handles