edit to allow purging of deleted resources run anywhere from cmd
adding data to derivative