New algorithm for testing multiple referenced binary inputs, replaced back slashes with forward slashes in R directory variables