Updated the script to connect to epic