building dist and cli parameters