updating R files to be able to take care of source file downloading and unpacking