fix sh file method