moved fakeroot usage, fixed trap handler