Made scripting API load files when run