close #40 by making upload replacement configurable
fix spelling