fix permissions
add targz()