added new option/hooks/bools/improved code.