Run hook script for gsm