fixed custom script reference