Updated app rb file