remove all hardocoded paths. Construct them from rails