This time , however , he was also given a co-writer , Pyotr Pavlenko , to bring in a completed script . He had professional actors to play the roles . This time , however , he was also assigned a co-scenarist , Pyotr Pavlenko , to bring in a completed script ; professional actors to play the roles ; and an assistant director , Dmitri Vasilyev , to expedite shooting .