add script in laout