Added basic error checking, default site