Update osx commands based on @Mathias' latest script