Fixes application path and user