Changed out hardcoded paths for variable input. close #302