script fixes, test script, remove misc example'