Fix for issue importing sql files into postgres by forcing psql command to run as user postgres. Root user does not have a role by default or access without users credentials.