Updated post-receive hook