functions that require it to be there.
- add checks for root users, for functions where it is required.
- get rid of getopts.
functions that require it to be there.
- add checks for root users, for functions where it is required.
- get rid of getopts.