Changed File Permissions, plus some generic tidying