Sorted out generic file permissions and added features for packaging site configuration.