updated for 2ndry hook builds