change overlay var to pass in NSURL