Added check for ubuntu (as fall through)
Added localdir to $path