iqity script cleanup