changed the add_scripts method to allow a path parameter. changed this in header.inc.php where it is called from.