made a change to take advantage of variables for various systems, I should add the hg stuff and setup stuff. need to test this but later