Pass APP_NAME env variable when executing hooks