added --php-exec-before/--php-exec-after