Added dependency checks and $pivot-forecolor