added profile activation to be able to toggle error production