Pass PORT in properly. Fix markdownfile iteration