Added bin/osx-* scripts
Updated `mid` script