fixed file handle leak
added artifact support
Merge branch 'master' of github.com:adept-dm/adept