The file scripts/ups.sh is missing a block:
### BEGIN INIT INFO
# Provides: ups
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: UPS Monitor
# Description: Starts the Buy A Pi UPS HAT Monitor
### END INIT INFO
This prevents the script to start.