Project prepare hook