// Check the description to see if it already has the builder
IProjectDescription description = project.getDescription();
List<ICommand> newCmds = new ArrayList<ICommand>();
newCmds.addAll(Arrays.asList(description.getBuildSpec()));
ICommand command = description.newCommand();
command.setBuilderName(SketchBuilder.BUILDER_ID);
int ploc = newCmds.lastIndexOf(SketchBuilder.BUILDER_ID);
// remove it if it does