added linked scripts back into head