add costfile to assembly script