Escape shell variable.
Move updates of custard so that they run on config-changed.