Move script into public folder