Updated program to find automorphic images