Split analysis in 2 scripts