first steps on shell scripting and apple scripts