That's how it was meant initially but I found out the container code which is right after attack_self was screwing us.
If I put before or after attack_self doesn't really matter.