fine tune test with some combined exec stuff..add ability to avoid ifelse/ternary with some globals