added two env vars which are needed for this to run