Fixed abcl, added new feature for script panel and changed thew ent dtection