Added flat selection plugin