changed #{root} to #{appRoot}