move scripts to public folder