changed settings of before and after phases