Move the reloading of the config in trapHandler