Simple script to join pictures the proper way