Activate script function, callback changes, fixes