Fixed bug with can_execute
Added simple example