Made scriptManager a shared pointer
Added some more scripts
Improved find and replace algoritm