fixed accessToken property so it runs locally
added settings support