Undid mysterious damage to scriptsFunctions