Moved the delegator to the dist file