use execSync properly

Signed-off-by: Justin Hernandez <justin@ndomitable.com>