splitting script