tidied Delete All and Constrain scripts