simplified script for myenv back and grep