renamed files, updated pointers, and cleaned R script for publication