Adds log and data directory
Fix default cmd