Script accepts port and optionally data directory, log dirctory