gem tuned up for normal shell execution