WIP on middleman script