Made powerline conditional