Modified clamp.php so that app_id can be passed in and attached to a message