Remove if before postgres initialization