bugs in scripts