Added script loader and template loader