Misc Fixes in EFA-Init and EFA-update-script

bash regex does not support lookahead method