some shell script updates
remove now obsolete exports
simplify src file detection
some permission changes
some shell script updates
fix permission
fix fw-check without argument