modified path for sdssredmagic