Update the FixPermissions script to support 2.1 code as well as 2.0