tidying up scripts
updated to last sola sql
solved error with enforce_geotype_geom
tidying up scripts