Modified egg-cache statements to happen before other imports