Added custom setup for OS X and terminal.