change basename for generated footprints
use string format method on basename instead of array of strings