remove complexity if we use a rgb led lamp
remove bug in script serialisation