update example app and nails scripts