Modifying previous scripts re: shoe print function