splitup scripts and resource part