Making changes to ifiss to make it scriptable