fixed logging so it includes the version/file extension