enable pg on startup