increased max socket connections
proper way of getting directory of currently running file