Added noty and flash message script (to the layout).