kevscript bug fix