New updated version

Code is updated to be compatible with Red 0.4.3 version