delegated more functionality to standard scripts and exported variables
still have to update docs