Added better defaulting (and overriding) of artifact name.