Guide to migrating from register_bg.php