@Override
	public int loop() {
		if(startscript) {
			if(task == null || !task.hasNext()) {
				task = container.iterator();
			} else {
				final Node curr = task.next();
				if(curr.activate()) {
					curr.execute();
				}
			}
		}
		return stop;
	}