Temp hooks fix

Until it's updated properly, this will at least give users the ability to use scripts.