Fix Ruby she-bang lines
Fixed permissions