Updated to use brfs and remove inline script template