Added silent parameter to prevent unwanted error log.