Fix chmod call, doh!