added support for -PI
refactored SEPARATOR2 -> RELATIVE_SEPARATOR