Replace project name and add warning flags