Refactored spec creation taskRefactored spec creation task..