add ORM fix commands to "usual" populate

one can now execute a single sql file and perform he fix and populate at
the same time; removed php files (we don't need php!!)