fix bug in basice check when rc =0 trigged as rc off, now changed to rc = -1
delete un used script file