length script, add osxmirrord to gitignore