pythn scripts for inserting images