added optional port parameter to run analyzer file