Add back core.php

Add back core.php