Support Heorku (use S3 and pg)