fixing script
adding intro function