Reverted installation mode and added setup scripts for postgis