changed index so it works w/ dataset
removed require for local env variables