Reset before deploy