adding shell script
updating functions.r