script divided into two parts