fixing swap
now depends works for subfolders
strike detection now should always work