improved guessing of folders for crud and adoplugin.