change selection layout with script.