fhp.bash: update: cleaned up the code with the previous die merge