Script for EP Maze