boolean checkContinue() {
		if (!interruptExecution.booleanValue()) {
			if (!executionPaused.booleanValue())
				return true;
			Logger.debug("script execution paused at this command: " + getCommand());
			try {
				while (executionPaused.booleanValue())
					Thread.sleep(100);
			}
			catch (Exception e) {
			}
			Logger.debug("script execution resumed");
		}
		// once more to trap quit during pause
		return !interruptExecution.booleanValue();
	}