modified control file  to work with costume controller