added enable_postgis function