fixup arguments
import artifact code from release.rb