added dist support