Fixed Pipe bug; Added config file