Fix token replacement for all artifacts