Adding/removing a few lines in OSX