Modified prescription controller and validation util.