Bug fixes

"localhost" needs quotes.