chmod changes

Old mode gave issues; hopefully this is good. Maybe windows/unix
issue...