Updated eagle server to be an ENV variable