This script sets correct permissions to files and folder.