Replaced 2 decorators for 1: runIf which takes the project type as arg.