fix modes for .sh