adding the init version of the script.