dos2unix, repair foreach on _check.php, add version to.xml

startupscript now .php
strangle bug into _check.xml, I don't understand.