added port as an option to qmaster and taskserver