Fixed indentation
Added search for paths