Opening script for image tracking