Ammended admin.php