updated all files to match the new auto registering system