conditional execution of powerline, only run if exists