Run certain script before creation of tar.gz image.