Affection Plugin, Clone of dcn version, slightly updated.