updated script bits