changed symbols to strings to allow easier json customization, and fixed directory creation