Write tag last to ensure layer validity
Include hook scripts in all layer archives