Update and rename BAplot to BAplot.R