Script now allows for user-specified rights.