Refresh before working on derived images.
Add optional postgres link support.