Save configuration on run