Removed str2bool function