modify getting prog name
add modifications to work with v5.6