Made some changes to work with azure websites.