make compatible with kurahen-premium script