Fixes profile creation.
Uses Amazon S3 for file uploads in production environment.