generate correct gui files