Split script into several files