Added encoder scripts