Added pry and debug params for debugging
Fixed flash notification