change "runtype table" - in index hmtl, php file and loadfunction + fixed bug for loadfunction