replaced hard coded paths with ENVs