rewritten column selection as directive, small fixes and string corrections here and there