Do some changes according to the tasks