Change database to postgre, Fix proxy issues