removed magic numbers, replacing with relpath for portability-sake
removed magic numbers. using values retrieved from conf settings as originally intended now