Fixed some issues with dev, overwriting.