Admin script + moved data from config to database