You have to make sure to to select "add lights" or whatever file type it is because there is no header info. You can't just click on "add files"
As in another post, converting the raw files to fits using batch conversion makes the script run smoother