Added -w flag to skip warnings