v1.3.1, improved readability, fixed send alert, minor code optimazations