add database transaction to tasks
fix ownership SBDJ directory