Fix based_on vars

Signed-off-by: Suki <suki@missallsunday.com>
Doc blocks

Signed-off-by: Suki <suki@missallsunday.com>
Couple of hooks

Signed-off-by: Suki <suki@missallsunday.com>