Add post upload hook to execute custom code