Fix setup project paths
Add exception and crash handling