Add resources and some fixes to scriptable