 DECLARE EXPERIMENT_GROUP_ID BIGINT;
 DECLARE EXPERIMENT_ID BIGINT;
 BEGIN
-	SELECT EXPERIMENT_GROUP_ID = GET_ACTIVE_EXPERIMENT_GROUP();
-	SELECT EXPERIMENT_ID = GET_NEXT_EXPERIMENT_FOR_GROUP(EXPERIMENT_GROUP_ID);
+	EXPERIMENT_GROUP_ID = GET_ACTIVE_EXPERIMENT_GROUP();
+	EXPERIMENT_ID = GET_NEXT_EXPERIMENT_FOR_GROUP(EXPERIMENT_GROUP_ID);
 	IF EXPERIMENT_ID IS NULL THEN
 		EXPERIMENT_ID = GENERATE_NEW_EXPERIMENT(EXPERIMENT_GROUP_ID);
 	END IF;

	SCRIPT TEXT NOT NULL,
	PARAMETER_GROUP_ID CHARACTER VARYING(128) NOT NULL REFERENCES PARAMETER_GROUP(ID),
	LAUNCHER TEXT NOT NULL,
	CREATED TIMESTAMP NOT NULL DEFAULT NOW(),
	MODIFIED TIMESTAMP NOT NULL DEFAULT NOW ()
);

-- 		====
-- 
-- 		';
		
		CURRENT_EXPERIMENT = GET_NEXT_EXPERIMENT(EXPERIMENT_GROUP_ID);

--		CURRENT_EXPERIMENT = GENERATE_NEW_EXPERIMENT(EXPERIMENT_GROUP_ID);
		
		SELECT
			HCPRTC.W,HCPRTC.X,HCPRTC.Y,HCPRTC.Z
