Made the console setup script a little bit more sh friendly