prepare project hook