Using tar in the prepare function