adding some params
some local fixes
adding some old local files