fixed script cfs-registration