corrected phase so only runs when 'clean' goal, rather than all goals, specified.