update indexrestrict to affect tire flag as well and add things like * glob
add the restrict changes to the swing apps as well