set permissions to 644 instead of 640