Fix copy and paste issues.
force empty_folders hook to run last by adding z_ prefix. This is a hack
this needs to be fixed properly at some point.