Code

Made the two check_ifoperstatus commands unique to remove conflicts