Change to use beforeProject; add Idea plugin