Changed the script code to make it public.