Variables options request fixed to use newer format

Dependencies implementation added. Still in proggress.