Synced scripts with the ones already used on the server: disabled check which didn't allow the system-version to be changed when it was already set, and adjusted ninsoap.php for running from cron.