Added the logic of script