correct the instance script regitries, and add a test for them