Script has associated effects

@ertyseidohl this is currently branched off my first PR so will just need to be rebased when all that's fixed. I'll happily fix up the inevitable merge conflicts but thought I'd throw this out here for you to check out. :)
sounds good to me