Formating and Py3 for bootstrap_images