runSAM function

Run the sam webapp