updated Artifact to support path and env varibles