separating scripts and datas