Hi and welcome to the forums,
I personally never used templates cause they are old as f*ck.
What you can try though is instead of writing #include "..." write #include <...>
Use #include "..." if the script file is in your project/game folder.
Also concerninng paths, I use add_folder, e.g. like this:
function addfolders_startup()
{
add_folder("models");
add_folder("data\\sounds");
}
-edit, ninja'd