Updated name and reverted to old code to send preview to IDB

Kept a copy of old code and SD will push new code tomorrow
ign