added check to make sure scripts are executable by all, via @sacrilicious