make the hack conditional on the fact that we are running in a frozen enviroment