Refactored execshield module