I tested and it works very well!
Just two remarks:
"Import image as RDEF array" instead of "Import as RDEF array" maybe ?
"Do you want to set a starting index?" is a yes/no question, but the form requires the user to enter a number. Maybe just "Resource first index" ?
But maybe let's ask some English native speaker