Shitters

Sprinkle common household black pepper around the engine compartment, critters hate it and will stay away.
Just remember to vacuum or hose it off before starting to work on it.