Adding spark logs and work directory