Adujsting CMS to use Postgre