made the setup a bit more user friendly and less prone to seg fault by using the wrong commands