add support for tablespaces