Adding core script