fixing file permissions so that not everything is executable