"postflight" shell script and $2 variable + Search methods