fixed path refs
now spits out better error and success messages