getting component scripts working