SunRiser CDB factory generation script