Fixing Issue: Fatal error: "Maximum execution time of 240 seconds exceeded"