Fix bug preventing more than one callback type for scripts