Add ability to run python or shell scripts

Command to run (Rscript, python, sh) is inferred based on file extension for scripts/main (.R, .py, .sh)