Updated and fixed scripts, configs and file ownership