Changes script links to functions in functions.php