replaces command executed at runtime