changing port num to 1299 plus minor cosmetic changes