Fixed some bugs with the find and replace algorithm
Exposed more to Lua
setting up demo scenes
Updated for demo