bugfixes and modified args. -b is now inverted