WIP: bug-script