Remove some functionalities in order to prepare a light production mode