remove unncessary flags from minish script