unicor script fix