added fix on SSL and file path