sp-autorefine does not work for a single stack with correct alignment file if there is a number at the end. Your point 2 solved the problem! I changed from "stack01.dat" to "stack.dat," and now the code can see the rest of the images in the stack!