Switched to more portable function definition method in bootstrap.sh and firefoxes.sh