Some refactoring, Forced SELECT backend for maximum compatibility