A script to probe imaps