add sign handling to $record
	code clean before anyone starts looking
	disused paths in macro and parameter removed
	mistake in $record signed-flag corrected