Amended sync to point to the correct directory