Only substitute if there is a script specificed