Move sample script to top-level