Port added to run.R for shiny app
Namepsace fix