Generate dist file