Add console logging for debugging actions