removing edits in common.php, is now a hook