Simplify intarget.sh script