removed alerts

Commented alerts and changed them into console logs.