added thumb_url to db and changed script/api to populate it. also changed config/environment to read in local env variables