complete the scripts