rename tar and add init sample functionality