bug fixes.

1.file permissions
2.labels
3.download button viewer