Fixed target criterion mistake
Optimize imports
Replace raw variables for cooldown on actions with Timer class.