remove the overly DRY and hacky wr script