Basic Configuration for every startup

Hi @all,
I have a setup where I need a basic configuration on my MikroTik Device and every times the MikroTik reboots or the PPPoE Interface goes down it should reset the configuration. I’m going to have a Remote Device Management that configuration on the fly my MikroTik and I don’t want to write a tear down skript for every configured service.

greetings

Could anybody help me please? I have a basic or default configuration and want to run that one on every startup or PPPoE Interface Down. Any Suggestion?