BUG: small fix
BUG: issue #30. Now creates a tmp. folder and do everything inside.