don't use 'function' keyword in install.sh to make the script more portable