replacing hard coded paths to local paths