Update debops-task script to use new functions