scripts to mitigate macosx's funkiness