updated for linux path fix on single click folder scan