updated slick version; created "flag" based params extractor