Updating z file perms and Rakefile cp dir