hopefully the onlyif statement is good this time:
if the state of the profile is ON, then with exit 1, which means we do not run the command