This makes lucene deployment autonomous [also fixes ImagePath]