updating hook and cucumber file for screenshots