Fixed config permissions, improved semantics

Also added more IRs