Fix to get correct path relative to script