image sharing script