Allow the user to pass port and dbname into R script