debugging scripts and whatnot