add override flag
add -P and -G options
Revert "add override flag"

This reverts commit 56459b213c3bf58ede6133b5fcb802e3fd6b9ad4.
Merge branch 'max-exception'