Fixed mistakes preventing from start. Now program works with dev.