updated version to 1.0.7
added retrocompatibility with osclass old versions, updated version 1.0.9