removed configuration hardcoding, replaced removeblock call, made ini file configurable