Added split to run main