Clean up osx file's extra unused commands