changed upload controller to have path variables in shell scripts for moveability down the line